package com.cgbl.cg.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.cgbl.cg.R

class MainVipMenuAdapter :
    BaseQuickAdapter<VipMenuBean, BaseViewHolder>(R.layout.app_item_main_vip_menu) {

    override fun convert(holder: BaseViewHolder, item: VipMenuBean) {
        holder.setImageResource(R.id.iv_icon, item.icon)
        holder.setText(R.id.tv_title, item.title)
        holder.setText(R.id.tv_desc, item.desc)
    }
}